package cn.easier.activity.console.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * @author 超人
 *
 * 积分兑换商品订单
 */

public class BargainGoodsOrderParams implements Serializable {

    private String bargainOrderNo;

    private String definedOrderUer;//下单用户手机号

    private String recipientPhoneNum;

    private String bargainGoodsName;

	private Integer activityId;//活动ID

    private int bargainGoodsCount = 1;

    private Integer amountPayable;//应付金额 单位 积分

    private ExchangeGoodsOrderState state = ExchangeGoodsOrderState.NO_PAY;//订单状态 默认未支付

    private Date createTime; // 创建时间，用于排序

    private SourceType sourceType = SourceType.CLUB;//订单来源 默认俱乐部

    private Integer score;//用户实际支付的积分

    private String attachData;

    private Integer memberFareAward;//活动充话费额 单位 分

	public String getBargainOrderNo() {
		return bargainOrderNo;
	}

	public void setBargainOrderNo(String bargainOrderNo) {
		this.bargainOrderNo = bargainOrderNo;
	}

	public String getDefinedOrderUer() {
		return definedOrderUer;
	}

	public void setDefinedOrderUer(String definedOrderUer) {
		this.definedOrderUer = definedOrderUer;
	}

	public String getRecipientPhoneNum() {
		return recipientPhoneNum;
	}

	public void setRecipientPhoneNum(String recipientPhoneNum) {
		this.recipientPhoneNum = recipientPhoneNum;
	}

	public String getBargainGoodsName() {
		return bargainGoodsName;
	}

	public void setBargainGoodsName(String bargainGoodsName) {
		this.bargainGoodsName = bargainGoodsName;
	}

	public Integer getActivityId() {
		return activityId;
	}

	public void setActivityId(Integer activityId) {
		this.activityId = activityId;
	}

	public int getBargainGoodsCount() {
		return bargainGoodsCount;
	}

	public void setBargainGoodsCount(int bargainGoodsCount) {
		this.bargainGoodsCount = bargainGoodsCount;
	}

	public Integer getAmountPayable() {
		return amountPayable;
	}

	public void setAmountPayable(Integer amountPayable) {
		this.amountPayable = amountPayable;
	}

	public ExchangeGoodsOrderState getState() {
		return state;
	}

	public void setState(ExchangeGoodsOrderState state) {
		this.state = state;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public SourceType getSourceType() {
		return sourceType;
	}

	public void setSourceType(SourceType sourceType) {
		this.sourceType = sourceType;
	}

	public Integer getScore() {
		return score;
	}

	public void setScore(Integer score) {
		this.score = score;
	}

	public String getAttachData() {
		return attachData;
	}

	public void setAttachData(String attachData) {
		this.attachData = attachData;
	}

	public Integer getMemberFareAward() {
		return memberFareAward;
	}

	public void setMemberFareAward(Integer memberFareAward) {
		this.memberFareAward = memberFareAward;
	}

	@Override
	public String toString() {
		return "BargainGoodsOrderParams{" +
				"bargainOrderNo='" + bargainOrderNo + '\'' +
				", definedOrderUer='" + definedOrderUer + '\'' +
				", recipientPhoneNum='" + recipientPhoneNum + '\'' +
				", bargainGoodsName='" + bargainGoodsName + '\'' +
				", activityId=" + activityId +
				", bargainGoodsCount=" + bargainGoodsCount +
				", amountPayable=" + amountPayable +
				", state=" + state +
				", createTime=" + createTime +
				", sourceType=" + sourceType +
				", score=" + score +
				", attachData='" + attachData + '\'' +
				", memberFareAward=" + memberFareAward +
				'}';
	}
}